//
//  Student.swift
//  swift 函数重载
//
//  Created by 龚昕炜 on 16/7/27.
//  Copyright © 2016年 龚昕炜. All rights reserved.
//

import UIKit

class Student: Person {
    
    var no: String?
    
    /** 重写 */
//    override init(name: String, age: Int) {
//        
//        self.no = "123456"
//        
//        super.init(name: name, age: age)
//        
//    }
    
    /** 重载 */
    init(name: String, age: Int, no: String) {
        
        self.no = no
        
        super.init(name: name, age: age)
    }

}
